#!/usr/bin/env node

const me={},

      stdout =process.stdout,

      stdin=process.stdin,
      msg=['name','email','qq','mobile'];
let i=0;

stdout.write(msg[i]+':');
stdin.on('data',data=>{
 // log(data.toString('utf8'));
  me[msg[i++]]=data.toString('utf8');
 // log(msg[i]);
  stdout.write(msg[i]+':');
});
stdin.on('end',()=> {
   console.log('bye');
});
